Introduction to Web Development using HTML 5
By: Kris Jamsa, Ph.D.

Chapter 29: Communicating via WebSockets

This chapter introduces the WebSocket API. By the time you finish this chapter, you will understand the following key concepts:

● How to understand sockets as endpoints and the communication channel
● How to test for browser support for the WebSocket API
● How to use a socket for data communication
● How to use the WebSocket API to send and receive messages to and from a remote server

Chapter PowerPoint Presentation


TestSocket.html
SocketEcho.html
AskMessage.html